﻿

namespace Demo.CommonBase.View.Contracts
{
    public interface IView
    {
        /// <summary>
        /// Gets a value from the view
        /// </summary>
        /// <param name="key">Key name of the value</param>
        /// <returns>Object</returns>
        object GetValue(string key);

        /// <summary>
        /// Sets a value into view object
        /// </summary>
        /// <param name="key">Key name of the value</param>
        /// <param name="value">Object to be inserted</param>
        void SetValue(string key, object value);

        /// <summary>
        /// Gets/Sets the controller name associated with the view
        /// </summary>
        string ControllerName
        { get; set; }
        
    }
}
